<?php $paging=$this->db->paging;if($paging['num']>1){ if(!$paging_url)$paging_url=htmlq(url::p('p'));?>
<div class="paging">
<?php if($paging['p']>1){?><a href="<?php echo $paging_url.($paging['p']-1);?>" title="上翻">&lt;</a><?php }?>
<span class="n"><?php foreach($paging['page_li'] as $v){ echo '<a href="'.$paging_url.$v.'">'.$v.'</a>';}?></span>
<?php if($paging['p']<$paging['pages']){?><a href="<?php echo $paging_url.($paging['p']+1);?>" title="下翻">&gt;</a><?php }?>
</div>
<?php }?>
